package com.max.xihu.patterns.factory.activity;

import com.max.xihu.patterns.factory.activity.form.ActivityForm;

/**
 * @Author: Max
 * @Date: 2020-09-04 23:06
 * @Description:
 */
public class ActivityCreator {

    public static void main(String[] args) throws Exception{
        ActivityForm form = new ActivityForm();
        ActivityServiceFactory factory = new ActivityServiceFactory();
        ActivityService activity = factory.createActivity(1);
        activity.createAct(form,null);
    }

}
